//
//  QXNetWorkTool.h
//  CommunityNannyO2O
//
//  Created by Apple on 15/7/18.
//  Copyright (c) 2015年 Apple. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "QXNSUrlConnection.h"
#import <UIKit/UIKit.h>
@protocol QXNetWorkToolDelegate <NSObject>

- (void)GetSuccessResponse:(id)Response andTag:(int)tag ;

- (void)GetSuccessMessage:(id)message andTag:(int)tag;

- (void)GetFailResponse:(id)Response andTag:(int)tag;

@end
@interface QXNetWorkTool : NSObject<NSURLConnectionDataDelegate,QXNSUrlConnectionDelegate>
{
    //    id <QXNetWorkToolDelegate> QXNetWorkDelegate;
}

@property (nonatomic, weak) id <QXNetWorkToolDelegate> QXNetWorkDelegate;

-(void)GetDataFromServerWithPostMethodandInterfaceName:(NSString *)InterfaceName andParameter:(NSArray *)parameter tag:(int *)tag;
@end
